namespace QMVnSoft.Lists
{
    using QMVnSoft;
    using QMVnSoft.Controls;
    using QMVnSoft.DAL;
    using System;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Windows.Forms;

    public class FormDmDmSpEditor : FormListEditor
    {
        private IContainer components;
        private LabelControl lblDinh_Muc01;
        private LabelControl lblDinh_Muc02;
        private LabelControl lblDinh_Muc03;
        private LabelControl lblDinh_Muc04;
        private LabelControl lblDinh_Muc05;
        private LabelControl lblDinh_Muc06;
        private LabelControl lblDinh_Muc07;
        private LabelControl lblDinh_Muc08;
        private LabelControl lblDinh_Muc09;
        private LabelControl lblDinh_Muc10;
        private LabelControl lblDinh_Muc11;
        private LabelControl lblDinh_Muc12;
        private LabelControl lblDo_Am_PT;
        private LabelControl lblDo_Con_PT;
        private LabelControl lblGia_Nt;
        private LabelControl lblH_Luong;
        private LabelControl lblLoai_Yt;
        private LabelControl lblLoai_Yt0;
        private LabelControl lblMa_Dm_Sp;
        private LabelControl lblMa_Sp;
        private LabelControl lblMa_Vt_Nh;
        private LabelControl lblMa_Vt_Nh0;
        private LabelControl lblSo_LuongSp;
        private LabelControl lblTien_Nt;
        private TextNumeric txtDinh_Muc01;
        private TextNumeric txtDinh_Muc02;
        private TextNumeric txtDinh_Muc03;
        private TextNumeric txtDinh_Muc04;
        private TextNumeric txtDinh_Muc05;
        private TextNumeric txtDinh_Muc06;
        private TextNumeric txtDinh_Muc07;
        private TextNumeric txtDinh_Muc08;
        private TextNumeric txtDinh_Muc09;
        private TextNumeric txtDinh_Muc10;
        private TextNumeric txtDinh_Muc11;
        private TextNumeric txtDinh_Muc12;
        private TextNumeric txtDo_Am_PT;
        private TextNumeric txtDo_Con_PT;
        private TextControl txtDvt_Sp;
        private TextControl txtDvt_Vt01;
        private TextControl txtDvt_Vt02;
        private TextControl txtDvt_Vt03;
        private TextControl txtDvt_Vt04;
        private TextControl txtDvt_Vt05;
        private TextControl txtDvt_Vt06;
        private TextControl txtDvt_Vt07;
        private TextControl txtDvt_Vt08;
        private TextControl txtDvt_Vt09;
        private TextControl txtDvt_Vt10;
        private TextControl txtDvt_Vt11;
        private TextControl txtDvt_Vt12;
        private TextNumeric txtGia_Nt;
        private TextNumeric txtH_Luong;
        private TextOption txtLoai_Yt;
        private TextSearch txtMa_Dm_Sp;
        private TextSearch txtMa_Sp;
        private TextOption txtMa_Vt_Nh;
        private TextNumeric txtSo_LuongSp;
        private TextControl txtTen_Dm_Sp;
        private TextControl txtTen_Sp;
        private TextNumeric txtTien_Nt;

        public FormDmDmSpEditor()
        {
            this.InitializeComponent();
            this.txtMa_Sp.GotFocus += new EventHandler(this.txtMa_Sp_GotFocus);
            this.txtMa_Dm_Sp.GotFocus += new EventHandler(this.txtMa_Dm_Sp_GotFocus);
            this.txtSo_LuongSp.GotFocus += new EventHandler(this.txtSo_LuongSp_GotFocus);
            this.txtSo_LuongSp.LostFocus += new EventHandler(this.txtSo_LuongSp_GotFocus);
            this.txtMa_Sp.LostFocus += new EventHandler(this.txtMa_Sp_LostFocus);
            this.txtMa_Dm_Sp.LostFocus += new EventHandler(this.txtMa_Dm_Sp_LostFocus);
            this.txtDinh_Muc01.LostFocus += new EventHandler(this.txtDinh_Muc01_LostFocus);
            this.txtDinh_Muc02.LostFocus += new EventHandler(this.txtDinh_Muc02_LostFocus);
            this.txtDinh_Muc03.LostFocus += new EventHandler(this.txtDinh_Muc03_LostFocus);
            this.txtDinh_Muc04.LostFocus += new EventHandler(this.txtDinh_Muc04_LostFocus);
            this.txtDinh_Muc05.LostFocus += new EventHandler(this.txtDinh_Muc05_LostFocus);
            this.txtDinh_Muc06.LostFocus += new EventHandler(this.txtDinh_Muc06_LostFocus);
            this.txtDinh_Muc07.LostFocus += new EventHandler(this.txtDinh_Muc07_LostFocus);
            this.txtDinh_Muc08.LostFocus += new EventHandler(this.txtDinh_Muc08_LostFocus);
            this.txtDinh_Muc09.LostFocus += new EventHandler(this.txtDinh_Muc09_LostFocus);
            this.txtDinh_Muc10.LostFocus += new EventHandler(this.txtDinh_Muc10_LostFocus);
            this.txtDinh_Muc11.LostFocus += new EventHandler(this.txtDinh_Muc11_LostFocus);
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormDmDmSpEditor));
            this.lblMa_Vt_Nh = new QMVnSoft.Controls.LabelControl();
            this.txtMa_Vt_Nh = new QMVnSoft.Controls.TextOption();
            this.txtMa_Dm_Sp = new QMVnSoft.Controls.TextSearch();
            this.txtTen_Dm_Sp = new QMVnSoft.Controls.TextControl();
            this.lblMa_Dm_Sp = new QMVnSoft.Controls.LabelControl();
            this.lblMa_Vt_Nh0 = new QMVnSoft.Controls.LabelControl();
            this.lblLoai_Yt = new QMVnSoft.Controls.LabelControl();
            this.txtLoai_Yt = new QMVnSoft.Controls.TextOption();
            this.lblLoai_Yt0 = new QMVnSoft.Controls.LabelControl();
            this.lblMa_Sp = new QMVnSoft.Controls.LabelControl();
            this.txtMa_Sp = new QMVnSoft.Controls.TextSearch();
            this.txtTen_Sp = new QMVnSoft.Controls.TextControl();
            this.lblSo_LuongSp = new QMVnSoft.Controls.LabelControl();
            this.txtSo_LuongSp = new QMVnSoft.Controls.TextNumeric();
            this.lblDinh_Muc01 = new QMVnSoft.Controls.LabelControl();
            this.txtDinh_Muc01 = new QMVnSoft.Controls.TextNumeric();
            this.txtDvt_Sp = new QMVnSoft.Controls.TextControl();
            this.txtDvt_Vt01 = new QMVnSoft.Controls.TextControl();
            this.txtDvt_Vt02 = new QMVnSoft.Controls.TextControl();
            this.lblDinh_Muc02 = new QMVnSoft.Controls.LabelControl();
            this.txtDinh_Muc02 = new QMVnSoft.Controls.TextNumeric();
            this.txtDvt_Vt03 = new QMVnSoft.Controls.TextControl();
            this.lblDinh_Muc03 = new QMVnSoft.Controls.LabelControl();
            this.txtDinh_Muc03 = new QMVnSoft.Controls.TextNumeric();
            this.txtDvt_Vt04 = new QMVnSoft.Controls.TextControl();
            this.txtDvt_Vt05 = new QMVnSoft.Controls.TextControl();
            this.txtDvt_Vt06 = new QMVnSoft.Controls.TextControl();
            this.lblDinh_Muc04 = new QMVnSoft.Controls.LabelControl();
            this.txtDinh_Muc04 = new QMVnSoft.Controls.TextNumeric();
            this.lblDinh_Muc05 = new QMVnSoft.Controls.LabelControl();
            this.lblDinh_Muc06 = new QMVnSoft.Controls.LabelControl();
            this.txtDinh_Muc05 = new QMVnSoft.Controls.TextNumeric();
            this.txtDinh_Muc06 = new QMVnSoft.Controls.TextNumeric();
            this.txtDvt_Vt07 = new QMVnSoft.Controls.TextControl();
            this.txtDvt_Vt10 = new QMVnSoft.Controls.TextControl();
            this.txtDvt_Vt08 = new QMVnSoft.Controls.TextControl();
            this.txtDvt_Vt11 = new QMVnSoft.Controls.TextControl();
            this.txtDvt_Vt09 = new QMVnSoft.Controls.TextControl();
            this.txtDvt_Vt12 = new QMVnSoft.Controls.TextControl();
            this.lblDinh_Muc07 = new QMVnSoft.Controls.LabelControl();
            this.txtDinh_Muc07 = new QMVnSoft.Controls.TextNumeric();
            this.lblDinh_Muc10 = new QMVnSoft.Controls.LabelControl();
            this.lblDinh_Muc08 = new QMVnSoft.Controls.LabelControl();
            this.txtDinh_Muc10 = new QMVnSoft.Controls.TextNumeric();
            this.lblDinh_Muc09 = new QMVnSoft.Controls.LabelControl();
            this.lblDinh_Muc11 = new QMVnSoft.Controls.LabelControl();
            this.txtDinh_Muc08 = new QMVnSoft.Controls.TextNumeric();
            this.lblDinh_Muc12 = new QMVnSoft.Controls.LabelControl();
            this.txtDinh_Muc09 = new QMVnSoft.Controls.TextNumeric();
            this.txtDinh_Muc11 = new QMVnSoft.Controls.TextNumeric();
            this.txtDinh_Muc12 = new QMVnSoft.Controls.TextNumeric();
            this.lblH_Luong = new QMVnSoft.Controls.LabelControl();
            this.lblGia_Nt = new QMVnSoft.Controls.LabelControl();
            this.txtH_Luong = new QMVnSoft.Controls.TextNumeric();
            this.lblTien_Nt = new QMVnSoft.Controls.LabelControl();
            this.lblDo_Am_PT = new QMVnSoft.Controls.LabelControl();
            this.txtGia_Nt = new QMVnSoft.Controls.TextNumeric();
            this.lblDo_Con_PT = new QMVnSoft.Controls.LabelControl();
            this.txtTien_Nt = new QMVnSoft.Controls.TextNumeric();
            this.txtDo_Am_PT = new QMVnSoft.Controls.TextNumeric();
            this.txtDo_Con_PT = new QMVnSoft.Controls.TextNumeric();
            this.SuspendLayout();
            // 
            // lblPhan_Loai
            // 
            this.lblPhan_Loai.Location = new System.Drawing.Point(12, 405);
            // 
            // txtMa_Loai1
            // 
            this.txtMa_Loai1.FirstFilter = "Type = \'DM1\'";
            this.txtMa_Loai1.Location = new System.Drawing.Point(123, 402);
            this.txtMa_Loai1.Size = new System.Drawing.Size(149, 20);
            this.txtMa_Loai1.TabIndex = 22;
            // 
            // txtMa_Loai2
            // 
            this.txtMa_Loai2.FirstFilter = "Type = \'DM2\'";
            this.txtMa_Loai2.Location = new System.Drawing.Point(274, 402);
            this.txtMa_Loai2.Size = new System.Drawing.Size(150, 20);
            this.txtMa_Loai2.TabIndex = 23;
            // 
            // txtMa_Loai3
            // 
            this.txtMa_Loai3.FirstFilter = "Type = \'DM3\'";
            this.txtMa_Loai3.Location = new System.Drawing.Point(426, 402);
            this.txtMa_Loai3.Size = new System.Drawing.Size(149, 20);
            this.txtMa_Loai3.TabIndex = 24;
            // 
            // lblMa_Vt_Nh
            // 
            this.lblMa_Vt_Nh.AutoSize = true;
            this.lblMa_Vt_Nh.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblMa_Vt_Nh.Location = new System.Drawing.Point(12, 75);
            this.lblMa_Vt_Nh.Name = "lblMa_Vt_Nh";
            this.lblMa_Vt_Nh.Size = new System.Drawing.Size(81, 14);
            this.lblMa_Vt_Nh.TabIndex = 4;
            this.lblMa_Vt_Nh.Text = "Nhóm định mức";
            // 
            // txtMa_Vt_Nh
            // 
            this.txtMa_Vt_Nh.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.txtMa_Vt_Nh.CheckTextSearched = false;
            this.txtMa_Vt_Nh.DisabledForeColor = System.Drawing.Color.Empty;
            this.txtMa_Vt_Nh.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtMa_Vt_Nh.InputMask = "V,N";
            this.txtMa_Vt_Nh.Location = new System.Drawing.Point(123, 72);
            this.txtMa_Vt_Nh.Name = "txtMa_Vt_Nh";
            this.txtMa_Vt_Nh.OldValue = null;
            this.txtMa_Vt_Nh.Size = new System.Drawing.Size(23, 20);
            this.txtMa_Vt_Nh.TabIndex = 2;
            this.txtMa_Vt_Nh.Text = "V";
            this.txtMa_Vt_Nh.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.None;
            this.txtMa_Vt_Nh.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.Right;
            this.txtMa_Vt_Nh.Value = "V";
            // 
            // txtMa_Dm_Sp
            // 
            this.txtMa_Dm_Sp.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.txtMa_Dm_Sp.CheckTextSearched = false;
            this.txtMa_Dm_Sp.DisabledForeColor = System.Drawing.Color.Empty;
            this.txtMa_Dm_Sp.FieldDisplay = "Ten_Sp";
            this.txtMa_Dm_Sp.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtMa_Dm_Sp.FoundIsValid = true;
            this.txtMa_Dm_Sp.Location = new System.Drawing.Point(123, 94);
            this.txtMa_Dm_Sp.MaxLength = 32;
            this.txtMa_Dm_Sp.Name = "txtMa_Dm_Sp";
            this.txtMa_Dm_Sp.OldValue = null;
            this.txtMa_Dm_Sp.Size = new System.Drawing.Size(149, 20);
            this.txtMa_Dm_Sp.TabIndex = 3;
            this.txtMa_Dm_Sp.TableName = "DMSP";
            this.txtMa_Dm_Sp.TextDisplay = this.txtTen_Dm_Sp;
            this.txtMa_Dm_Sp.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.ItemCode;
            this.txtMa_Dm_Sp.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.All;
            this.txtMa_Dm_Sp.Value = ((object)(resources.GetObject("txtMa_Dm_Sp.Value")));
            // 
            // txtTen_Dm_Sp
            // 
            this.txtTen_Dm_Sp.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(217)))), ((int)(((byte)(247)))));
            this.txtTen_Dm_Sp.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.txtTen_Dm_Sp.CheckTextSearched = false;
            this.txtTen_Dm_Sp.DisabledForeColor = System.Drawing.Color.Blue;
            this.txtTen_Dm_Sp.Enabled = false;
            this.txtTen_Dm_Sp.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtTen_Dm_Sp.ForeColor = System.Drawing.Color.Blue;
            this.txtTen_Dm_Sp.Location = new System.Drawing.Point(278, 97);
            this.txtTen_Dm_Sp.Name = "txtTen_Dm_Sp";
            this.txtTen_Dm_Sp.OldValue = null;
            this.txtTen_Dm_Sp.Size = new System.Drawing.Size(297, 13);
            this.txtTen_Dm_Sp.TabIndex = 13;
            this.txtTen_Dm_Sp.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.None;
            this.txtTen_Dm_Sp.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.Right;
            this.txtTen_Dm_Sp.Value = ((object)(resources.GetObject("txtTen_Dm_Sp.Value")));
            // 
            // lblMa_Dm_Sp
            // 
            this.lblMa_Dm_Sp.AutoSize = true;
            this.lblMa_Dm_Sp.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblMa_Dm_Sp.Location = new System.Drawing.Point(12, 97);
            this.lblMa_Dm_Sp.Name = "lblMa_Dm_Sp";
            this.lblMa_Dm_Sp.Size = new System.Drawing.Size(68, 14);
            this.lblMa_Dm_Sp.TabIndex = 4;
            this.lblMa_Dm_Sp.Text = "Mã định mức";
            // 
            // lblMa_Vt_Nh0
            // 
            this.lblMa_Vt_Nh0.AutoSize = true;
            this.lblMa_Vt_Nh0.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblMa_Vt_Nh0.ForeColor = System.Drawing.Color.Blue;
            this.lblMa_Vt_Nh0.Location = new System.Drawing.Point(152, 75);
            this.lblMa_Vt_Nh0.Name = "lblMa_Vt_Nh0";
            this.lblMa_Vt_Nh0.Size = new System.Drawing.Size(282, 14);
            this.lblMa_Vt_Nh0.TabIndex = 33;
            this.lblMa_Vt_Nh0.Text = "V-Định mức theo vật tư, N-Định mức theo nhóm định mức";
            // 
            // lblLoai_Yt
            // 
            this.lblLoai_Yt.AutoSize = true;
            this.lblLoai_Yt.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblLoai_Yt.Location = new System.Drawing.Point(12, 53);
            this.lblLoai_Yt.Name = "lblLoai_Yt";
            this.lblLoai_Yt.Size = new System.Drawing.Size(74, 14);
            this.lblLoai_Yt.TabIndex = 4;
            this.lblLoai_Yt.Text = "Loại định mức";
            // 
            // txtLoai_Yt
            // 
            this.txtLoai_Yt.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.txtLoai_Yt.CheckTextSearched = false;
            this.txtLoai_Yt.DisabledForeColor = System.Drawing.Color.Empty;
            this.txtLoai_Yt.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtLoai_Yt.InputMask = "L,T";
            this.txtLoai_Yt.Location = new System.Drawing.Point(123, 50);
            this.txtLoai_Yt.Name = "txtLoai_Yt";
            this.txtLoai_Yt.OldValue = null;
            this.txtLoai_Yt.Size = new System.Drawing.Size(23, 20);
            this.txtLoai_Yt.TabIndex = 1;
            this.txtLoai_Yt.Text = "L";
            this.txtLoai_Yt.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.None;
            this.txtLoai_Yt.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.Right;
            this.txtLoai_Yt.Value = "L";
            // 
            // lblLoai_Yt0
            // 
            this.lblLoai_Yt0.AutoSize = true;
            this.lblLoai_Yt0.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblLoai_Yt0.ForeColor = System.Drawing.Color.Blue;
            this.lblLoai_Yt0.Location = new System.Drawing.Point(152, 53);
            this.lblLoai_Yt0.Name = "lblLoai_Yt0";
            this.lblLoai_Yt0.Size = new System.Drawing.Size(175, 14);
            this.lblLoai_Yt0.TabIndex = 33;
            this.lblLoai_Yt0.Text = "L-Định mức lượng, T-Định mức tiền";
            // 
            // lblMa_Sp
            // 
            this.lblMa_Sp.AutoSize = true;
            this.lblMa_Sp.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblMa_Sp.Location = new System.Drawing.Point(12, 31);
            this.lblMa_Sp.Name = "lblMa_Sp";
            this.lblMa_Sp.Size = new System.Drawing.Size(110, 14);
            this.lblMa_Sp.TabIndex = 4;
            this.lblMa_Sp.Text = "Sản phẩm/ Công trình";
            // 
            // txtMa_Sp
            // 
            this.txtMa_Sp.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.txtMa_Sp.CheckTextSearched = false;
            this.txtMa_Sp.DisabledForeColor = System.Drawing.Color.Empty;
            this.txtMa_Sp.FieldDisplay = "Ten_Sp";
            this.txtMa_Sp.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtMa_Sp.FoundIsValid = true;
            this.txtMa_Sp.Location = new System.Drawing.Point(123, 28);
            this.txtMa_Sp.MaxLength = 32;
            this.txtMa_Sp.Name = "txtMa_Sp";
            this.txtMa_Sp.OldValue = null;
            this.txtMa_Sp.Size = new System.Drawing.Size(149, 20);
            this.txtMa_Sp.TabIndex = 0;
            this.txtMa_Sp.TableName = "DMSP";
            this.txtMa_Sp.TextDisplay = this.txtTen_Sp;
            this.txtMa_Sp.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.ItemCode;
            this.txtMa_Sp.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.All;
            this.txtMa_Sp.Value = ((object)(resources.GetObject("txtMa_Sp.Value")));
            // 
            // txtTen_Sp
            // 
            this.txtTen_Sp.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(217)))), ((int)(((byte)(247)))));
            this.txtTen_Sp.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.txtTen_Sp.CheckTextSearched = false;
            this.txtTen_Sp.DisabledForeColor = System.Drawing.Color.Blue;
            this.txtTen_Sp.Enabled = false;
            this.txtTen_Sp.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtTen_Sp.ForeColor = System.Drawing.Color.Blue;
            this.txtTen_Sp.Location = new System.Drawing.Point(278, 31);
            this.txtTen_Sp.Name = "txtTen_Sp";
            this.txtTen_Sp.OldValue = null;
            this.txtTen_Sp.Size = new System.Drawing.Size(297, 13);
            this.txtTen_Sp.TabIndex = 13;
            this.txtTen_Sp.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.None;
            this.txtTen_Sp.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.Right;
            this.txtTen_Sp.Value = ((object)(resources.GetObject("txtTen_Sp.Value")));
            // 
            // lblSo_LuongSp
            // 
            this.lblSo_LuongSp.AutoSize = true;
            this.lblSo_LuongSp.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblSo_LuongSp.Location = new System.Drawing.Point(12, 119);
            this.lblSo_LuongSp.Name = "lblSo_LuongSp";
            this.lblSo_LuongSp.Size = new System.Drawing.Size(101, 14);
            this.lblSo_LuongSp.TabIndex = 43;
            this.lblSo_LuongSp.Text = "Số lượng sản phẩm";
            // 
            // txtSo_LuongSp
            // 
            this.txtSo_LuongSp.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtSo_LuongSp.Location = new System.Drawing.Point(123, 116);
            this.txtSo_LuongSp.Name = "txtSo_LuongSp";
            this.txtSo_LuongSp.NumericValue = new decimal(new int[] {
            0,
            0,
            0,
            0});
            this.txtSo_LuongSp.OldValue = null;
            this.txtSo_LuongSp.Size = new System.Drawing.Size(149, 20);
            this.txtSo_LuongSp.TabIndex = 4;
            this.txtSo_LuongSp.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txtSo_LuongSp.UserTextNumericFormat  = QMVnSoft.AppInstance.TextNumericFormat.NormQuantity;
            this.txtSo_LuongSp.Value = ((object)(resources.GetObject("txtSo_LuongSp.Value")));
            // 
            // lblDinh_Muc01
            // 
            this.lblDinh_Muc01.AutoSize = true;
            this.lblDinh_Muc01.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblDinh_Muc01.Location = new System.Drawing.Point(12, 141);
            this.lblDinh_Muc01.Name = "lblDinh_Muc01";
            this.lblDinh_Muc01.Size = new System.Drawing.Size(49, 14);
            this.lblDinh_Muc01.TabIndex = 43;
            this.lblDinh_Muc01.Text = "tháng 01";
            // 
            // txtDinh_Muc01
            // 
            this.txtDinh_Muc01.AllowNegative = false;
            this.txtDinh_Muc01.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtDinh_Muc01.Location = new System.Drawing.Point(123, 138);
            this.txtDinh_Muc01.Name = "txtDinh_Muc01";
            this.txtDinh_Muc01.NumericValue = new decimal(new int[] {
            0,
            0,
            0,
            0});
            this.txtDinh_Muc01.OldValue = null;
            this.txtDinh_Muc01.Size = new System.Drawing.Size(149, 20);
            this.txtDinh_Muc01.TabIndex = 5;
            this.txtDinh_Muc01.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txtDinh_Muc01.UserTextNumericFormat  = QMVnSoft.AppInstance.TextNumericFormat.NormQuantity;
            this.txtDinh_Muc01.Value = ((object)(resources.GetObject("txtDinh_Muc01.Value")));
            // 
            // txtDvt_Sp
            // 
            this.txtDvt_Sp.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(217)))), ((int)(((byte)(247)))));
            this.txtDvt_Sp.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.txtDvt_Sp.CheckTextSearched = false;
            this.txtDvt_Sp.DisabledForeColor = System.Drawing.Color.Blue;
            this.txtDvt_Sp.Enabled = false;
            this.txtDvt_Sp.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtDvt_Sp.ForeColor = System.Drawing.Color.Blue;
            this.txtDvt_Sp.Location = new System.Drawing.Point(278, 119);
            this.txtDvt_Sp.Name = "txtDvt_Sp";
            this.txtDvt_Sp.OldValue = null;
            this.txtDvt_Sp.Size = new System.Drawing.Size(91, 13);
            this.txtDvt_Sp.TabIndex = 13;
            this.txtDvt_Sp.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.None;
            this.txtDvt_Sp.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.Right;
            this.txtDvt_Sp.Value = ((object)(resources.GetObject("txtDvt_Sp.Value")));
            // 
            // txtDvt_Vt01
            // 
            this.txtDvt_Vt01.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(217)))), ((int)(((byte)(247)))));
            this.txtDvt_Vt01.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.txtDvt_Vt01.CheckTextSearched = false;
            this.txtDvt_Vt01.DisabledForeColor = System.Drawing.Color.Blue;
            this.txtDvt_Vt01.Enabled = false;
            this.txtDvt_Vt01.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtDvt_Vt01.ForeColor = System.Drawing.Color.Blue;
            this.txtDvt_Vt01.Location = new System.Drawing.Point(278, 141);
            this.txtDvt_Vt01.Name = "txtDvt_Vt01";
            this.txtDvt_Vt01.OldValue = null;
            this.txtDvt_Vt01.Size = new System.Drawing.Size(91, 13);
            this.txtDvt_Vt01.TabIndex = 13;
            this.txtDvt_Vt01.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.None;
            this.txtDvt_Vt01.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.Right;
            this.txtDvt_Vt01.Value = ((object)(resources.GetObject("txtDvt_Vt01.Value")));
            // 
            // txtDvt_Vt02
            // 
            this.txtDvt_Vt02.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(217)))), ((int)(((byte)(247)))));
            this.txtDvt_Vt02.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.txtDvt_Vt02.CheckTextSearched = false;
            this.txtDvt_Vt02.DisabledForeColor = System.Drawing.Color.Blue;
            this.txtDvt_Vt02.Enabled = false;
            this.txtDvt_Vt02.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtDvt_Vt02.ForeColor = System.Drawing.Color.Blue;
            this.txtDvt_Vt02.Location = new System.Drawing.Point(278, 163);
            this.txtDvt_Vt02.Name = "txtDvt_Vt02";
            this.txtDvt_Vt02.OldValue = null;
            this.txtDvt_Vt02.Size = new System.Drawing.Size(91, 13);
            this.txtDvt_Vt02.TabIndex = 13;
            this.txtDvt_Vt02.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.None;
            this.txtDvt_Vt02.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.Right;
            this.txtDvt_Vt02.Value = ((object)(resources.GetObject("txtDvt_Vt02.Value")));
            // 
            // lblDinh_Muc02
            // 
            this.lblDinh_Muc02.AutoSize = true;
            this.lblDinh_Muc02.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblDinh_Muc02.Location = new System.Drawing.Point(12, 163);
            this.lblDinh_Muc02.Name = "lblDinh_Muc02";
            this.lblDinh_Muc02.Size = new System.Drawing.Size(49, 14);
            this.lblDinh_Muc02.TabIndex = 43;
            this.lblDinh_Muc02.Text = "tháng 02";
            // 
            // txtDinh_Muc02
            // 
            this.txtDinh_Muc02.AllowNegative = false;
            this.txtDinh_Muc02.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtDinh_Muc02.Location = new System.Drawing.Point(123, 160);
            this.txtDinh_Muc02.Name = "txtDinh_Muc02";
            this.txtDinh_Muc02.NumericValue = new decimal(new int[] {
            0,
            0,
            0,
            0});
            this.txtDinh_Muc02.OldValue = null;
            this.txtDinh_Muc02.Size = new System.Drawing.Size(149, 20);
            this.txtDinh_Muc02.TabIndex = 6;
            this.txtDinh_Muc02.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txtDinh_Muc02.UserTextNumericFormat  = QMVnSoft.AppInstance.TextNumericFormat.NormQuantity;
            this.txtDinh_Muc02.Value = ((object)(resources.GetObject("txtDinh_Muc02.Value")));
            // 
            // txtDvt_Vt03
            // 
            this.txtDvt_Vt03.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(217)))), ((int)(((byte)(247)))));
            this.txtDvt_Vt03.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.txtDvt_Vt03.CheckTextSearched = false;
            this.txtDvt_Vt03.DisabledForeColor = System.Drawing.Color.Blue;
            this.txtDvt_Vt03.Enabled = false;
            this.txtDvt_Vt03.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtDvt_Vt03.ForeColor = System.Drawing.Color.Blue;
            this.txtDvt_Vt03.Location = new System.Drawing.Point(278, 185);
            this.txtDvt_Vt03.Name = "txtDvt_Vt03";
            this.txtDvt_Vt03.OldValue = null;
            this.txtDvt_Vt03.Size = new System.Drawing.Size(91, 13);
            this.txtDvt_Vt03.TabIndex = 13;
            this.txtDvt_Vt03.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.None;
            this.txtDvt_Vt03.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.Right;
            this.txtDvt_Vt03.Value = ((object)(resources.GetObject("txtDvt_Vt03.Value")));
            // 
            // lblDinh_Muc03
            // 
            this.lblDinh_Muc03.AutoSize = true;
            this.lblDinh_Muc03.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblDinh_Muc03.Location = new System.Drawing.Point(12, 185);
            this.lblDinh_Muc03.Name = "lblDinh_Muc03";
            this.lblDinh_Muc03.Size = new System.Drawing.Size(49, 14);
            this.lblDinh_Muc03.TabIndex = 43;
            this.lblDinh_Muc03.Text = "tháng 03";
            // 
            // txtDinh_Muc03
            // 
            this.txtDinh_Muc03.AllowNegative = false;
            this.txtDinh_Muc03.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtDinh_Muc03.Location = new System.Drawing.Point(123, 182);
            this.txtDinh_Muc03.Name = "txtDinh_Muc03";
            this.txtDinh_Muc03.NumericValue = new decimal(new int[] {
            0,
            0,
            0,
            0});
            this.txtDinh_Muc03.OldValue = null;
            this.txtDinh_Muc03.Size = new System.Drawing.Size(149, 20);
            this.txtDinh_Muc03.TabIndex = 7;
            this.txtDinh_Muc03.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txtDinh_Muc03.UserTextNumericFormat  = QMVnSoft.AppInstance.TextNumericFormat.NormQuantity;
            this.txtDinh_Muc03.Value = ((object)(resources.GetObject("txtDinh_Muc03.Value")));
            // 
            // txtDvt_Vt04
            // 
            this.txtDvt_Vt04.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(217)))), ((int)(((byte)(247)))));
            this.txtDvt_Vt04.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.txtDvt_Vt04.CheckTextSearched = false;
            this.txtDvt_Vt04.DisabledForeColor = System.Drawing.Color.Blue;
            this.txtDvt_Vt04.Enabled = false;
            this.txtDvt_Vt04.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtDvt_Vt04.ForeColor = System.Drawing.Color.Blue;
            this.txtDvt_Vt04.Location = new System.Drawing.Point(278, 207);
            this.txtDvt_Vt04.Name = "txtDvt_Vt04";
            this.txtDvt_Vt04.OldValue = null;
            this.txtDvt_Vt04.Size = new System.Drawing.Size(91, 13);
            this.txtDvt_Vt04.TabIndex = 13;
            this.txtDvt_Vt04.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.None;
            this.txtDvt_Vt04.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.Right;
            this.txtDvt_Vt04.Value = ((object)(resources.GetObject("txtDvt_Vt04.Value")));
            // 
            // txtDvt_Vt05
            // 
            this.txtDvt_Vt05.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(217)))), ((int)(((byte)(247)))));
            this.txtDvt_Vt05.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.txtDvt_Vt05.CheckTextSearched = false;
            this.txtDvt_Vt05.DisabledForeColor = System.Drawing.Color.Blue;
            this.txtDvt_Vt05.Enabled = false;
            this.txtDvt_Vt05.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtDvt_Vt05.ForeColor = System.Drawing.Color.Blue;
            this.txtDvt_Vt05.Location = new System.Drawing.Point(278, 229);
            this.txtDvt_Vt05.Name = "txtDvt_Vt05";
            this.txtDvt_Vt05.OldValue = null;
            this.txtDvt_Vt05.Size = new System.Drawing.Size(91, 13);
            this.txtDvt_Vt05.TabIndex = 13;
            this.txtDvt_Vt05.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.None;
            this.txtDvt_Vt05.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.Right;
            this.txtDvt_Vt05.Value = ((object)(resources.GetObject("txtDvt_Vt05.Value")));
            // 
            // txtDvt_Vt06
            // 
            this.txtDvt_Vt06.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(217)))), ((int)(((byte)(247)))));
            this.txtDvt_Vt06.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.txtDvt_Vt06.CheckTextSearched = false;
            this.txtDvt_Vt06.DisabledForeColor = System.Drawing.Color.Blue;
            this.txtDvt_Vt06.Enabled = false;
            this.txtDvt_Vt06.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtDvt_Vt06.ForeColor = System.Drawing.Color.Blue;
            this.txtDvt_Vt06.Location = new System.Drawing.Point(278, 251);
            this.txtDvt_Vt06.Name = "txtDvt_Vt06";
            this.txtDvt_Vt06.OldValue = null;
            this.txtDvt_Vt06.Size = new System.Drawing.Size(91, 13);
            this.txtDvt_Vt06.TabIndex = 13;
            this.txtDvt_Vt06.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.None;
            this.txtDvt_Vt06.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.Right;
            this.txtDvt_Vt06.Value = ((object)(resources.GetObject("txtDvt_Vt06.Value")));
            // 
            // lblDinh_Muc04
            // 
            this.lblDinh_Muc04.AutoSize = true;
            this.lblDinh_Muc04.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblDinh_Muc04.Location = new System.Drawing.Point(12, 207);
            this.lblDinh_Muc04.Name = "lblDinh_Muc04";
            this.lblDinh_Muc04.Size = new System.Drawing.Size(49, 14);
            this.lblDinh_Muc04.TabIndex = 43;
            this.lblDinh_Muc04.Text = "tháng 04";
            // 
            // txtDinh_Muc04
            // 
            this.txtDinh_Muc04.AllowNegative = false;
            this.txtDinh_Muc04.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtDinh_Muc04.Location = new System.Drawing.Point(123, 204);
            this.txtDinh_Muc04.Name = "txtDinh_Muc04";
            this.txtDinh_Muc04.NumericValue = new decimal(new int[] {
            0,
            0,
            0,
            0});
            this.txtDinh_Muc04.OldValue = null;
            this.txtDinh_Muc04.Size = new System.Drawing.Size(149, 20);
            this.txtDinh_Muc04.TabIndex = 8;
            this.txtDinh_Muc04.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txtDinh_Muc04.UserTextNumericFormat  = QMVnSoft.AppInstance.TextNumericFormat.NormQuantity;
            this.txtDinh_Muc04.Value = ((object)(resources.GetObject("txtDinh_Muc04.Value")));
            // 
            // lblDinh_Muc05
            // 
            this.lblDinh_Muc05.AutoSize = true;
            this.lblDinh_Muc05.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblDinh_Muc05.Location = new System.Drawing.Point(12, 229);
            this.lblDinh_Muc05.Name = "lblDinh_Muc05";
            this.lblDinh_Muc05.Size = new System.Drawing.Size(49, 14);
            this.lblDinh_Muc05.TabIndex = 43;
            this.lblDinh_Muc05.Text = "tháng 05";
            // 
            // lblDinh_Muc06
            // 
            this.lblDinh_Muc06.AutoSize = true;
            this.lblDinh_Muc06.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblDinh_Muc06.Location = new System.Drawing.Point(12, 251);
            this.lblDinh_Muc06.Name = "lblDinh_Muc06";
            this.lblDinh_Muc06.Size = new System.Drawing.Size(49, 14);
            this.lblDinh_Muc06.TabIndex = 43;
            this.lblDinh_Muc06.Text = "tháng 06";
            // 
            // txtDinh_Muc05
            // 
            this.txtDinh_Muc05.AllowNegative = false;
            this.txtDinh_Muc05.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtDinh_Muc05.Location = new System.Drawing.Point(123, 226);
            this.txtDinh_Muc05.Name = "txtDinh_Muc05";
            this.txtDinh_Muc05.NumericValue = new decimal(new int[] {
            0,
            0,
            0,
            0});
            this.txtDinh_Muc05.OldValue = null;
            this.txtDinh_Muc05.Size = new System.Drawing.Size(149, 20);
            this.txtDinh_Muc05.TabIndex = 9;
            this.txtDinh_Muc05.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txtDinh_Muc05.UserTextNumericFormat  = QMVnSoft.AppInstance.TextNumericFormat.NormQuantity;
            this.txtDinh_Muc05.Value = ((object)(resources.GetObject("txtDinh_Muc05.Value")));
            // 
            // txtDinh_Muc06
            // 
            this.txtDinh_Muc06.AllowNegative = false;
            this.txtDinh_Muc06.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtDinh_Muc06.Location = new System.Drawing.Point(123, 248);
            this.txtDinh_Muc06.Name = "txtDinh_Muc06";
            this.txtDinh_Muc06.NumericValue = new decimal(new int[] {
            0,
            0,
            0,
            0});
            this.txtDinh_Muc06.OldValue = null;
            this.txtDinh_Muc06.Size = new System.Drawing.Size(149, 20);
            this.txtDinh_Muc06.TabIndex = 10;
            this.txtDinh_Muc06.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txtDinh_Muc06.UserTextNumericFormat  = QMVnSoft.AppInstance.TextNumericFormat.NormQuantity;
            this.txtDinh_Muc06.Value = ((object)(resources.GetObject("txtDinh_Muc06.Value")));
            // 
            // txtDvt_Vt07
            // 
            this.txtDvt_Vt07.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(217)))), ((int)(((byte)(247)))));
            this.txtDvt_Vt07.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.txtDvt_Vt07.CheckTextSearched = false;
            this.txtDvt_Vt07.DisabledForeColor = System.Drawing.Color.Blue;
            this.txtDvt_Vt07.Enabled = false;
            this.txtDvt_Vt07.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtDvt_Vt07.ForeColor = System.Drawing.Color.Blue;
            this.txtDvt_Vt07.Location = new System.Drawing.Point(278, 273);
            this.txtDvt_Vt07.Name = "txtDvt_Vt07";
            this.txtDvt_Vt07.OldValue = null;
            this.txtDvt_Vt07.Size = new System.Drawing.Size(91, 13);
            this.txtDvt_Vt07.TabIndex = 13;
            this.txtDvt_Vt07.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.None;
            this.txtDvt_Vt07.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.Right;
            this.txtDvt_Vt07.Value = ((object)(resources.GetObject("txtDvt_Vt07.Value")));
            // 
            // txtDvt_Vt10
            // 
            this.txtDvt_Vt10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(217)))), ((int)(((byte)(247)))));
            this.txtDvt_Vt10.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.txtDvt_Vt10.CheckTextSearched = false;
            this.txtDvt_Vt10.DisabledForeColor = System.Drawing.Color.Blue;
            this.txtDvt_Vt10.Enabled = false;
            this.txtDvt_Vt10.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtDvt_Vt10.ForeColor = System.Drawing.Color.Blue;
            this.txtDvt_Vt10.Location = new System.Drawing.Point(278, 339);
            this.txtDvt_Vt10.Name = "txtDvt_Vt10";
            this.txtDvt_Vt10.OldValue = null;
            this.txtDvt_Vt10.Size = new System.Drawing.Size(91, 13);
            this.txtDvt_Vt10.TabIndex = 13;
            this.txtDvt_Vt10.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.None;
            this.txtDvt_Vt10.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.Right;
            this.txtDvt_Vt10.Value = ((object)(resources.GetObject("txtDvt_Vt10.Value")));
            // 
            // txtDvt_Vt08
            // 
            this.txtDvt_Vt08.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(217)))), ((int)(((byte)(247)))));
            this.txtDvt_Vt08.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.txtDvt_Vt08.CheckTextSearched = false;
            this.txtDvt_Vt08.DisabledForeColor = System.Drawing.Color.Blue;
            this.txtDvt_Vt08.Enabled = false;
            this.txtDvt_Vt08.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtDvt_Vt08.ForeColor = System.Drawing.Color.Blue;
            this.txtDvt_Vt08.Location = new System.Drawing.Point(278, 295);
            this.txtDvt_Vt08.Name = "txtDvt_Vt08";
            this.txtDvt_Vt08.OldValue = null;
            this.txtDvt_Vt08.Size = new System.Drawing.Size(91, 13);
            this.txtDvt_Vt08.TabIndex = 13;
            this.txtDvt_Vt08.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.None;
            this.txtDvt_Vt08.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.Right;
            this.txtDvt_Vt08.Value = ((object)(resources.GetObject("txtDvt_Vt08.Value")));
            // 
            // txtDvt_Vt11
            // 
            this.txtDvt_Vt11.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(217)))), ((int)(((byte)(247)))));
            this.txtDvt_Vt11.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.txtDvt_Vt11.CheckTextSearched = false;
            this.txtDvt_Vt11.DisabledForeColor = System.Drawing.Color.Blue;
            this.txtDvt_Vt11.Enabled = false;
            this.txtDvt_Vt11.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtDvt_Vt11.ForeColor = System.Drawing.Color.Blue;
            this.txtDvt_Vt11.Location = new System.Drawing.Point(278, 361);
            this.txtDvt_Vt11.Name = "txtDvt_Vt11";
            this.txtDvt_Vt11.OldValue = null;
            this.txtDvt_Vt11.Size = new System.Drawing.Size(91, 13);
            this.txtDvt_Vt11.TabIndex = 13;
            this.txtDvt_Vt11.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.None;
            this.txtDvt_Vt11.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.Right;
            this.txtDvt_Vt11.Value = ((object)(resources.GetObject("txtDvt_Vt11.Value")));
            // 
            // txtDvt_Vt09
            // 
            this.txtDvt_Vt09.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(217)))), ((int)(((byte)(247)))));
            this.txtDvt_Vt09.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.txtDvt_Vt09.CheckTextSearched = false;
            this.txtDvt_Vt09.DisabledForeColor = System.Drawing.Color.Blue;
            this.txtDvt_Vt09.Enabled = false;
            this.txtDvt_Vt09.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtDvt_Vt09.ForeColor = System.Drawing.Color.Blue;
            this.txtDvt_Vt09.Location = new System.Drawing.Point(278, 317);
            this.txtDvt_Vt09.Name = "txtDvt_Vt09";
            this.txtDvt_Vt09.OldValue = null;
            this.txtDvt_Vt09.Size = new System.Drawing.Size(91, 13);
            this.txtDvt_Vt09.TabIndex = 13;
            this.txtDvt_Vt09.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.None;
            this.txtDvt_Vt09.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.Right;
            this.txtDvt_Vt09.Value = ((object)(resources.GetObject("txtDvt_Vt09.Value")));
            // 
            // txtDvt_Vt12
            // 
            this.txtDvt_Vt12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(217)))), ((int)(((byte)(247)))));
            this.txtDvt_Vt12.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.txtDvt_Vt12.CheckTextSearched = false;
            this.txtDvt_Vt12.DisabledForeColor = System.Drawing.Color.Blue;
            this.txtDvt_Vt12.Enabled = false;
            this.txtDvt_Vt12.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtDvt_Vt12.ForeColor = System.Drawing.Color.Blue;
            this.txtDvt_Vt12.Location = new System.Drawing.Point(278, 383);
            this.txtDvt_Vt12.Name = "txtDvt_Vt12";
            this.txtDvt_Vt12.OldValue = null;
            this.txtDvt_Vt12.Size = new System.Drawing.Size(91, 13);
            this.txtDvt_Vt12.TabIndex = 13;
            this.txtDvt_Vt12.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.None;
            this.txtDvt_Vt12.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.Right;
            this.txtDvt_Vt12.Value = ((object)(resources.GetObject("txtDvt_Vt12.Value")));
            // 
            // lblDinh_Muc07
            // 
            this.lblDinh_Muc07.AutoSize = true;
            this.lblDinh_Muc07.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblDinh_Muc07.Location = new System.Drawing.Point(12, 273);
            this.lblDinh_Muc07.Name = "lblDinh_Muc07";
            this.lblDinh_Muc07.Size = new System.Drawing.Size(49, 14);
            this.lblDinh_Muc07.TabIndex = 43;
            this.lblDinh_Muc07.Text = "tháng 07";
            // 
            // txtDinh_Muc07
            // 
            this.txtDinh_Muc07.AllowNegative = false;
            this.txtDinh_Muc07.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtDinh_Muc07.Location = new System.Drawing.Point(123, 270);
            this.txtDinh_Muc07.Name = "txtDinh_Muc07";
            this.txtDinh_Muc07.NumericValue = new decimal(new int[] {
            0,
            0,
            0,
            0});
            this.txtDinh_Muc07.OldValue = null;
            this.txtDinh_Muc07.Size = new System.Drawing.Size(149, 20);
            this.txtDinh_Muc07.TabIndex = 11;
            this.txtDinh_Muc07.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txtDinh_Muc07.UserTextNumericFormat  = QMVnSoft.AppInstance.TextNumericFormat.NormQuantity;
            this.txtDinh_Muc07.Value = ((object)(resources.GetObject("txtDinh_Muc07.Value")));
            // 
            // lblDinh_Muc10
            // 
            this.lblDinh_Muc10.AutoSize = true;
            this.lblDinh_Muc10.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblDinh_Muc10.Location = new System.Drawing.Point(12, 339);
            this.lblDinh_Muc10.Name = "lblDinh_Muc10";
            this.lblDinh_Muc10.Size = new System.Drawing.Size(49, 14);
            this.lblDinh_Muc10.TabIndex = 43;
            this.lblDinh_Muc10.Text = "tháng 10";
            // 
            // lblDinh_Muc08
            // 
            this.lblDinh_Muc08.AutoSize = true;
            this.lblDinh_Muc08.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblDinh_Muc08.Location = new System.Drawing.Point(12, 295);
            this.lblDinh_Muc08.Name = "lblDinh_Muc08";
            this.lblDinh_Muc08.Size = new System.Drawing.Size(49, 14);
            this.lblDinh_Muc08.TabIndex = 43;
            this.lblDinh_Muc08.Text = "tháng 08";
            // 
            // txtDinh_Muc10
            // 
            this.txtDinh_Muc10.AllowNegative = false;
            this.txtDinh_Muc10.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtDinh_Muc10.Location = new System.Drawing.Point(123, 336);
            this.txtDinh_Muc10.Name = "txtDinh_Muc10";
            this.txtDinh_Muc10.NumericValue = new decimal(new int[] {
            0,
            0,
            0,
            0});
            this.txtDinh_Muc10.OldValue = null;
            this.txtDinh_Muc10.Size = new System.Drawing.Size(149, 20);
            this.txtDinh_Muc10.TabIndex = 14;
            this.txtDinh_Muc10.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txtDinh_Muc10.UserTextNumericFormat  = QMVnSoft.AppInstance.TextNumericFormat.NormQuantity;
            this.txtDinh_Muc10.Value = ((object)(resources.GetObject("txtDinh_Muc10.Value")));
            // 
            // lblDinh_Muc09
            // 
            this.lblDinh_Muc09.AutoSize = true;
            this.lblDinh_Muc09.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblDinh_Muc09.Location = new System.Drawing.Point(12, 317);
            this.lblDinh_Muc09.Name = "lblDinh_Muc09";
            this.lblDinh_Muc09.Size = new System.Drawing.Size(49, 14);
            this.lblDinh_Muc09.TabIndex = 43;
            this.lblDinh_Muc09.Text = "tháng 09";
            // 
            // lblDinh_Muc11
            // 
            this.lblDinh_Muc11.AutoSize = true;
            this.lblDinh_Muc11.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblDinh_Muc11.Location = new System.Drawing.Point(12, 361);
            this.lblDinh_Muc11.Name = "lblDinh_Muc11";
            this.lblDinh_Muc11.Size = new System.Drawing.Size(48, 14);
            this.lblDinh_Muc11.TabIndex = 43;
            this.lblDinh_Muc11.Text = "tháng 11";
            // 
            // txtDinh_Muc08
            // 
            this.txtDinh_Muc08.AllowNegative = false;
            this.txtDinh_Muc08.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtDinh_Muc08.Location = new System.Drawing.Point(123, 292);
            this.txtDinh_Muc08.Name = "txtDinh_Muc08";
            this.txtDinh_Muc08.NumericValue = new decimal(new int[] {
            0,
            0,
            0,
            0});
            this.txtDinh_Muc08.OldValue = null;
            this.txtDinh_Muc08.Size = new System.Drawing.Size(149, 20);
            this.txtDinh_Muc08.TabIndex = 12;
            this.txtDinh_Muc08.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txtDinh_Muc08.UserTextNumericFormat  = QMVnSoft.AppInstance.TextNumericFormat.NormQuantity;
            this.txtDinh_Muc08.Value = ((object)(resources.GetObject("txtDinh_Muc08.Value")));
            // 
            // lblDinh_Muc12
            // 
            this.lblDinh_Muc12.AutoSize = true;
            this.lblDinh_Muc12.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblDinh_Muc12.Location = new System.Drawing.Point(12, 383);
            this.lblDinh_Muc12.Name = "lblDinh_Muc12";
            this.lblDinh_Muc12.Size = new System.Drawing.Size(49, 14);
            this.lblDinh_Muc12.TabIndex = 43;
            this.lblDinh_Muc12.Text = "tháng 12";
            // 
            // txtDinh_Muc09
            // 
            this.txtDinh_Muc09.AllowNegative = false;
            this.txtDinh_Muc09.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtDinh_Muc09.Location = new System.Drawing.Point(123, 314);
            this.txtDinh_Muc09.Name = "txtDinh_Muc09";
            this.txtDinh_Muc09.NumericValue = new decimal(new int[] {
            0,
            0,
            0,
            0});
            this.txtDinh_Muc09.OldValue = null;
            this.txtDinh_Muc09.Size = new System.Drawing.Size(149, 20);
            this.txtDinh_Muc09.TabIndex = 13;
            this.txtDinh_Muc09.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txtDinh_Muc09.UserTextNumericFormat  = QMVnSoft.AppInstance.TextNumericFormat.NormQuantity;
            this.txtDinh_Muc09.Value = ((object)(resources.GetObject("txtDinh_Muc09.Value")));
            // 
            // txtDinh_Muc11
            // 
            this.txtDinh_Muc11.AllowNegative = false;
            this.txtDinh_Muc11.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtDinh_Muc11.Location = new System.Drawing.Point(123, 358);
            this.txtDinh_Muc11.Name = "txtDinh_Muc11";
            this.txtDinh_Muc11.NumericValue = new decimal(new int[] {
            0,
            0,
            0,
            0});
            this.txtDinh_Muc11.OldValue = null;
            this.txtDinh_Muc11.Size = new System.Drawing.Size(149, 20);
            this.txtDinh_Muc11.TabIndex = 15;
            this.txtDinh_Muc11.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txtDinh_Muc11.UserTextNumericFormat  = QMVnSoft.AppInstance.TextNumericFormat.NormQuantity;
            this.txtDinh_Muc11.Value = ((object)(resources.GetObject("txtDinh_Muc11.Value")));
            // 
            // txtDinh_Muc12
            // 
            this.txtDinh_Muc12.AllowNegative = false;
            this.txtDinh_Muc12.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtDinh_Muc12.Location = new System.Drawing.Point(123, 380);
            this.txtDinh_Muc12.Name = "txtDinh_Muc12";
            this.txtDinh_Muc12.NumericValue = new decimal(new int[] {
            0,
            0,
            0,
            0});
            this.txtDinh_Muc12.OldValue = null;
            this.txtDinh_Muc12.Size = new System.Drawing.Size(149, 20);
            this.txtDinh_Muc12.TabIndex = 16;
            this.txtDinh_Muc12.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txtDinh_Muc12.UserTextNumericFormat  = QMVnSoft.AppInstance.TextNumericFormat.NormQuantity;
            this.txtDinh_Muc12.Value = ((object)(resources.GetObject("txtDinh_Muc12.Value")));
            // 
            // lblH_Luong
            // 
            this.lblH_Luong.AutoSize = true;
            this.lblH_Luong.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblH_Luong.Location = new System.Drawing.Point(362, 295);
            this.lblH_Luong.Name = "lblH_Luong";
            this.lblH_Luong.Size = new System.Drawing.Size(59, 14);
            this.lblH_Luong.TabIndex = 43;
            this.lblH_Luong.Text = "Hàm lượng";
            // 
            // lblGia_Nt
            // 
            this.lblGia_Nt.AutoSize = true;
            this.lblGia_Nt.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblGia_Nt.Location = new System.Drawing.Point(362, 361);
            this.lblGia_Nt.Name = "lblGia_Nt";
            this.lblGia_Nt.Size = new System.Drawing.Size(45, 14);
            this.lblGia_Nt.TabIndex = 43;
            this.lblGia_Nt.Text = "Đơn giá";
            // 
            // txtH_Luong
            // 
            this.txtH_Luong.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtH_Luong.Location = new System.Drawing.Point(426, 292);
            this.txtH_Luong.Name = "txtH_Luong";
            this.txtH_Luong.NumericValue = new decimal(new int[] {
            0,
            0,
            0,
            0});
            this.txtH_Luong.OldValue = null;
            this.txtH_Luong.Size = new System.Drawing.Size(149, 20);
            this.txtH_Luong.TabIndex = 17;
            this.txtH_Luong.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txtH_Luong.UserTextNumericFormat  = QMVnSoft.AppInstance.TextNumericFormat.Percent;
            this.txtH_Luong.Value = ((object)(resources.GetObject("txtH_Luong.Value")));
            // 
            // lblTien_Nt
            // 
            this.lblTien_Nt.AutoSize = true;
            this.lblTien_Nt.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblTien_Nt.Location = new System.Drawing.Point(362, 383);
            this.lblTien_Nt.Name = "lblTien_Nt";
            this.lblTien_Nt.Size = new System.Drawing.Size(57, 14);
            this.lblTien_Nt.TabIndex = 43;
            this.lblTien_Nt.Text = "Thành tiền";
            // 
            // lblDo_Am_PT
            // 
            this.lblDo_Am_PT.AutoSize = true;
            this.lblDo_Am_PT.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblDo_Am_PT.Location = new System.Drawing.Point(362, 317);
            this.lblDo_Am_PT.Name = "lblDo_Am_PT";
            this.lblDo_Am_PT.Size = new System.Drawing.Size(38, 14);
            this.lblDo_Am_PT.TabIndex = 43;
            this.lblDo_Am_PT.Text = "Độ ẩm";
            // 
            // txtGia_Nt
            // 
            this.txtGia_Nt.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtGia_Nt.Location = new System.Drawing.Point(426, 358);
            this.txtGia_Nt.Name = "txtGia_Nt";
            this.txtGia_Nt.NumericValue = new decimal(new int[] {
            0,
            0,
            0,
            0});
            this.txtGia_Nt.OldValue = null;
            this.txtGia_Nt.Size = new System.Drawing.Size(149, 20);
            this.txtGia_Nt.TabIndex = 20;
            this.txtGia_Nt.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txtGia_Nt.UserTextNumericFormat  = QMVnSoft.AppInstance.TextNumericFormat.LocalPrice;
            this.txtGia_Nt.Value = ((object)(resources.GetObject("txtGia_Nt.Value")));
            // 
            // lblDo_Con_PT
            // 
            this.lblDo_Con_PT.AutoSize = true;
            this.lblDo_Con_PT.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblDo_Con_PT.Location = new System.Drawing.Point(362, 339);
            this.lblDo_Con_PT.Name = "lblDo_Con_PT";
            this.lblDo_Con_PT.Size = new System.Drawing.Size(42, 14);
            this.lblDo_Con_PT.TabIndex = 43;
            this.lblDo_Con_PT.Text = "Độ cồn";
            // 
            // txtTien_Nt
            // 
            this.txtTien_Nt.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtTien_Nt.Location = new System.Drawing.Point(426, 380);
            this.txtTien_Nt.Name = "txtTien_Nt";
            this.txtTien_Nt.NumericValue = new decimal(new int[] {
            0,
            0,
            0,
            0});
            this.txtTien_Nt.OldValue = null;
            this.txtTien_Nt.Size = new System.Drawing.Size(149, 20);
            this.txtTien_Nt.TabIndex = 21;
            this.txtTien_Nt.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txtTien_Nt.UserTextNumericFormat  = QMVnSoft.AppInstance.TextNumericFormat.LocalAmount;
            this.txtTien_Nt.Value = ((object)(resources.GetObject("txtTien_Nt.Value")));
            // 
            // txtDo_Am_PT
            // 
            this.txtDo_Am_PT.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtDo_Am_PT.Location = new System.Drawing.Point(426, 314);
            this.txtDo_Am_PT.Name = "txtDo_Am_PT";
            this.txtDo_Am_PT.NumericValue = new decimal(new int[] {
            0,
            0,
            0,
            0});
            this.txtDo_Am_PT.OldValue = null;
            this.txtDo_Am_PT.Size = new System.Drawing.Size(149, 20);
            this.txtDo_Am_PT.TabIndex = 18;
            this.txtDo_Am_PT.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txtDo_Am_PT.UserTextNumericFormat  = QMVnSoft.AppInstance.TextNumericFormat.Percent;
            this.txtDo_Am_PT.Value = ((object)(resources.GetObject("txtDo_Am_PT.Value")));
            // 
            // txtDo_Con_PT
            // 
            this.txtDo_Con_PT.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtDo_Con_PT.Location = new System.Drawing.Point(426, 336);
            this.txtDo_Con_PT.Name = "txtDo_Con_PT";
            this.txtDo_Con_PT.NumericValue = new decimal(new int[] {
            0,
            0,
            0,
            0});
            this.txtDo_Con_PT.OldValue = null;
            this.txtDo_Con_PT.Size = new System.Drawing.Size(149, 20);
            this.txtDo_Con_PT.TabIndex = 19;
            this.txtDo_Con_PT.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txtDo_Con_PT.UserTextNumericFormat  = QMVnSoft.AppInstance.TextNumericFormat.Percent;
            this.txtDo_Con_PT.Value = ((object)(resources.GetObject("txtDo_Con_PT.Value")));
            // 
            // FormDmDmSpEditor
            // 
            this.AddTitleText = "Thêm mới định mức sản phẩm, công trình";
            this.ClientSize = new System.Drawing.Size(592, 436);
            this.Controls.Add(this.txtDo_Con_PT);
            this.Controls.Add(this.txtDinh_Muc12);
            this.Controls.Add(this.txtDinh_Muc06);
            this.Controls.Add(this.txtDo_Am_PT);
            this.Controls.Add(this.txtDinh_Muc11);
            this.Controls.Add(this.txtDinh_Muc05);
            this.Controls.Add(this.txtTien_Nt);
            this.Controls.Add(this.txtDinh_Muc09);
            this.Controls.Add(this.txtDinh_Muc03);
            this.Controls.Add(this.lblDo_Con_PT);
            this.Controls.Add(this.lblDinh_Muc12);
            this.Controls.Add(this.lblDinh_Muc06);
            this.Controls.Add(this.txtGia_Nt);
            this.Controls.Add(this.txtDinh_Muc08);
            this.Controls.Add(this.lblDo_Am_PT);
            this.Controls.Add(this.txtDinh_Muc02);
            this.Controls.Add(this.lblDinh_Muc11);
            this.Controls.Add(this.lblTien_Nt);
            this.Controls.Add(this.lblDinh_Muc05);
            this.Controls.Add(this.lblDinh_Muc09);
            this.Controls.Add(this.txtH_Luong);
            this.Controls.Add(this.lblDinh_Muc03);
            this.Controls.Add(this.txtDinh_Muc10);
            this.Controls.Add(this.lblGia_Nt);
            this.Controls.Add(this.txtDinh_Muc04);
            this.Controls.Add(this.lblDinh_Muc08);
            this.Controls.Add(this.lblH_Luong);
            this.Controls.Add(this.lblDinh_Muc02);
            this.Controls.Add(this.lblDinh_Muc10);
            this.Controls.Add(this.lblDinh_Muc04);
            this.Controls.Add(this.txtDinh_Muc07);
            this.Controls.Add(this.lblDinh_Muc07);
            this.Controls.Add(this.txtDinh_Muc01);
            this.Controls.Add(this.lblDinh_Muc01);
            this.Controls.Add(this.txtSo_LuongSp);
            this.Controls.Add(this.txtDvt_Vt12);
            this.Controls.Add(this.lblSo_LuongSp);
            this.Controls.Add(this.txtDvt_Vt06);
            this.Controls.Add(this.txtDvt_Vt09);
            this.Controls.Add(this.lblLoai_Yt0);
            this.Controls.Add(this.txtDvt_Vt11);
            this.Controls.Add(this.txtDvt_Vt03);
            this.Controls.Add(this.txtDvt_Vt05);
            this.Controls.Add(this.txtDvt_Vt08);
            this.Controls.Add(this.lblMa_Vt_Nh0);
            this.Controls.Add(this.txtDvt_Vt10);
            this.Controls.Add(this.txtDvt_Vt02);
            this.Controls.Add(this.txtDvt_Vt04);
            this.Controls.Add(this.txtDvt_Vt07);
            this.Controls.Add(this.txtTen_Sp);
            this.Controls.Add(this.txtDvt_Vt01);
            this.Controls.Add(this.txtDvt_Sp);
            this.Controls.Add(this.txtTen_Dm_Sp);
            this.Controls.Add(this.txtMa_Sp);
            this.Controls.Add(this.txtMa_Dm_Sp);
            this.Controls.Add(this.txtLoai_Yt);
            this.Controls.Add(this.txtMa_Vt_Nh);
            this.Controls.Add(this.lblLoai_Yt);
            this.Controls.Add(this.lblMa_Sp);
            this.Controls.Add(this.lblMa_Vt_Nh);
            this.Controls.Add(this.lblMa_Dm_Sp);
            this.EditTitleText = "Sửa định mức sản phẩm, công trình";
            this.FirstFreeCode = "DM1";
            this.Name = "FormDmDmSpEditor";
            this.SecondFreeCode = "DM2";
            this.Text = "Thêm mới định mức sản phẩm, công trình";
            this.ThirdFreeCode = "DM3";
            this.Controls.SetChildIndex(this.lblPhan_Loai, 0);
            this.Controls.SetChildIndex(this.txtMa_Loai1, 0);
            this.Controls.SetChildIndex(this.txtMa_Loai2, 0);
            this.Controls.SetChildIndex(this.txtMa_Loai3, 0);
            this.Controls.SetChildIndex(this.lblMa_Dm_Sp, 0);
            this.Controls.SetChildIndex(this.lblMa_Vt_Nh, 0);
            this.Controls.SetChildIndex(this.lblMa_Sp, 0);
            this.Controls.SetChildIndex(this.lblLoai_Yt, 0);
            this.Controls.SetChildIndex(this.txtMa_Vt_Nh, 0);
            this.Controls.SetChildIndex(this.txtLoai_Yt, 0);
            this.Controls.SetChildIndex(this.txtMa_Dm_Sp, 0);
            this.Controls.SetChildIndex(this.txtMa_Sp, 0);
            this.Controls.SetChildIndex(this.txtTen_Dm_Sp, 0);
            this.Controls.SetChildIndex(this.txtDvt_Sp, 0);
            this.Controls.SetChildIndex(this.txtDvt_Vt01, 0);
            this.Controls.SetChildIndex(this.txtTen_Sp, 0);
            this.Controls.SetChildIndex(this.txtDvt_Vt07, 0);
            this.Controls.SetChildIndex(this.txtDvt_Vt04, 0);
            this.Controls.SetChildIndex(this.txtDvt_Vt02, 0);
            this.Controls.SetChildIndex(this.txtDvt_Vt10, 0);
            this.Controls.SetChildIndex(this.lblMa_Vt_Nh0, 0);
            this.Controls.SetChildIndex(this.txtDvt_Vt08, 0);
            this.Controls.SetChildIndex(this.txtDvt_Vt05, 0);
            this.Controls.SetChildIndex(this.txtDvt_Vt03, 0);
            this.Controls.SetChildIndex(this.txtDvt_Vt11, 0);
            this.Controls.SetChildIndex(this.lblLoai_Yt0, 0);
            this.Controls.SetChildIndex(this.txtDvt_Vt09, 0);
            this.Controls.SetChildIndex(this.txtDvt_Vt06, 0);
            this.Controls.SetChildIndex(this.lblSo_LuongSp, 0);
            this.Controls.SetChildIndex(this.txtDvt_Vt12, 0);
            this.Controls.SetChildIndex(this.txtSo_LuongSp, 0);
            this.Controls.SetChildIndex(this.lblDinh_Muc01, 0);
            this.Controls.SetChildIndex(this.txtDinh_Muc01, 0);
            this.Controls.SetChildIndex(this.lblDinh_Muc07, 0);
            this.Controls.SetChildIndex(this.txtDinh_Muc07, 0);
            this.Controls.SetChildIndex(this.lblDinh_Muc04, 0);
            this.Controls.SetChildIndex(this.lblDinh_Muc10, 0);
            this.Controls.SetChildIndex(this.lblDinh_Muc02, 0);
            this.Controls.SetChildIndex(this.lblH_Luong, 0);
            this.Controls.SetChildIndex(this.lblDinh_Muc08, 0);
            this.Controls.SetChildIndex(this.txtDinh_Muc04, 0);
            this.Controls.SetChildIndex(this.lblGia_Nt, 0);
            this.Controls.SetChildIndex(this.txtDinh_Muc10, 0);
            this.Controls.SetChildIndex(this.lblDinh_Muc03, 0);
            this.Controls.SetChildIndex(this.txtH_Luong, 0);
            this.Controls.SetChildIndex(this.lblDinh_Muc09, 0);
            this.Controls.SetChildIndex(this.lblDinh_Muc05, 0);
            this.Controls.SetChildIndex(this.lblTien_Nt, 0);
            this.Controls.SetChildIndex(this.lblDinh_Muc11, 0);
            this.Controls.SetChildIndex(this.txtDinh_Muc02, 0);
            this.Controls.SetChildIndex(this.lblDo_Am_PT, 0);
            this.Controls.SetChildIndex(this.txtDinh_Muc08, 0);
            this.Controls.SetChildIndex(this.txtGia_Nt, 0);
            this.Controls.SetChildIndex(this.lblDinh_Muc06, 0);
            this.Controls.SetChildIndex(this.lblDinh_Muc12, 0);
            this.Controls.SetChildIndex(this.lblDo_Con_PT, 0);
            this.Controls.SetChildIndex(this.txtDinh_Muc03, 0);
            this.Controls.SetChildIndex(this.txtDinh_Muc09, 0);
            this.Controls.SetChildIndex(this.txtTien_Nt, 0);
            this.Controls.SetChildIndex(this.txtDinh_Muc05, 0);
            this.Controls.SetChildIndex(this.txtDinh_Muc11, 0);
            this.Controls.SetChildIndex(this.txtDo_Am_PT, 0);
            this.Controls.SetChildIndex(this.txtDinh_Muc06, 0);
            this.Controls.SetChildIndex(this.txtDinh_Muc12, 0);
            this.Controls.SetChildIndex(this.txtDo_Con_PT, 0);
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        protected override void OnReset()
        {
            this.lblH_Luong.Visible = AppInstance.QualityCtrl;
            this.txtH_Luong.Visible = AppInstance.QualityCtrl;
            this.lblDo_Am_PT.Visible = AppInstance.DampCtrl;
            this.txtDo_Am_PT.Visible = AppInstance.DampCtrl;
            this.lblDo_Con_PT.Visible = AppInstance.AlcoholCtrl;
            this.txtDo_Con_PT.Visible = AppInstance.AlcoholCtrl;
            if (!base.NewChecked)
            {
                this.txtSo_LuongSp.Value = base.LocalCurrentRow["So_LuongSp"];
                this.txtDinh_Muc01.Value = base.LocalCurrentRow["Dinh_Muc01"];
                this.txtDinh_Muc02.Value = base.LocalCurrentRow["Dinh_Muc02"];
                this.txtDinh_Muc03.Value = base.LocalCurrentRow["Dinh_Muc03"];
                this.txtDinh_Muc04.Value = base.LocalCurrentRow["Dinh_Muc04"];
                this.txtDinh_Muc05.Value = base.LocalCurrentRow["Dinh_Muc05"];
                this.txtDinh_Muc06.Value = base.LocalCurrentRow["Dinh_Muc06"];
                this.txtDinh_Muc07.Value = base.LocalCurrentRow["Dinh_Muc07"];
                this.txtDinh_Muc08.Value = base.LocalCurrentRow["Dinh_Muc08"];
                this.txtDinh_Muc09.Value = base.LocalCurrentRow["Dinh_Muc09"];
                this.txtDinh_Muc10.Value = base.LocalCurrentRow["Dinh_Muc10"];
                this.txtDinh_Muc11.Value = base.LocalCurrentRow["Dinh_Muc11"];
                this.txtDinh_Muc12.Value = base.LocalCurrentRow["Dinh_Muc12"];
                this.txtGia_Nt.Value = base.LocalCurrentRow["Gia_Nt"];
                this.txtTien_Nt.Value = base.LocalCurrentRow["Tien_Nt"];
                this.txtH_Luong.Value = base.LocalCurrentRow["H_Luong"];
                this.txtDo_Am_PT.Value = base.LocalCurrentRow["Do_Am_PT"];
                this.txtDo_Con_PT.Value = base.LocalCurrentRow["Do_Con_PT"];
            }
            else
            {
                this.txtSo_LuongSp.Value = 1;
                this.txtDinh_Muc01.Value = DBNull.Value;
                this.txtDinh_Muc02.Value = DBNull.Value;
                this.txtDinh_Muc03.Value = DBNull.Value;
                this.txtDinh_Muc04.Value = DBNull.Value;
                this.txtDinh_Muc05.Value = DBNull.Value;
                this.txtDinh_Muc06.Value = DBNull.Value;
                this.txtDinh_Muc07.Value = DBNull.Value;
                this.txtDinh_Muc08.Value = DBNull.Value;
                this.txtDinh_Muc09.Value = DBNull.Value;
                this.txtDinh_Muc10.Value = DBNull.Value;
                this.txtDinh_Muc11.Value = DBNull.Value;
                this.txtDinh_Muc12.Value = DBNull.Value;
                this.txtGia_Nt.Value = DBNull.Value;
                this.txtTien_Nt.Value = DBNull.Value;
                this.txtH_Luong.Value = DBNull.Value;
                this.txtDo_Am_PT.Value = DBNull.Value;
                this.txtDo_Con_PT.Value = DBNull.Value;
            }
            base.OnReset();
        }

        public override bool OnSave()
        {
            DataRow localCurrentRow;
            if (string.IsNullOrEmpty(this.txtMa_Sp.Text))
            {
                MessageBox.Show("Chưa nhập mã sản phẩm!", AppInstance.SoftwareName, MessageBoxButtons.OK, MessageBoxIcon.Hand);
                return false;
            }
            if (string.IsNullOrEmpty(this.txtMa_Dm_Sp.Text))
            {
                MessageBox.Show("Chưa nhập mã định mức sản phẩm!", AppInstance.SoftwareName, MessageBoxButtons.OK, MessageBoxIcon.Hand);
                return false;
            }
            if (base.NewChecked)
            {
                localCurrentRow = base.LocalTable.NewRow();
            }
            else
            {
                localCurrentRow = base.LocalCurrentRow;
            }
            localCurrentRow["NamDM"] = AppInstance.WorkingYear;
            localCurrentRow["Loai_Yt"] = this.txtLoai_Yt.Value;
            localCurrentRow["Ma_Vt_Nh"] = this.txtMa_Vt_Nh.Value;
            localCurrentRow["Ma_Sp"] = this.txtMa_Sp.Value;
            localCurrentRow["Ma_Dm_Sp"] = this.txtMa_Dm_Sp.Value;
            localCurrentRow["Ten_Dm_Sp"] = this.txtTen_Dm_Sp.Value;
            localCurrentRow["Dvt"] = this.txtDvt_Vt01.Value;
            localCurrentRow["So_LuongSp"] = this.txtSo_LuongSp.Value;
            localCurrentRow["Dinh_Muc01"] = this.txtDinh_Muc01.Value;
            localCurrentRow["Dinh_Muc02"] = this.txtDinh_Muc02.Value;
            localCurrentRow["Dinh_Muc03"] = this.txtDinh_Muc03.Value;
            localCurrentRow["Dinh_Muc04"] = this.txtDinh_Muc04.Value;
            localCurrentRow["Dinh_Muc05"] = this.txtDinh_Muc05.Value;
            localCurrentRow["Dinh_Muc06"] = this.txtDinh_Muc06.Value;
            localCurrentRow["Dinh_Muc07"] = this.txtDinh_Muc07.Value;
            localCurrentRow["Dinh_Muc08"] = this.txtDinh_Muc08.Value;
            localCurrentRow["Dinh_Muc09"] = this.txtDinh_Muc09.Value;
            localCurrentRow["Dinh_Muc10"] = this.txtDinh_Muc10.Value;
            localCurrentRow["Dinh_Muc11"] = this.txtDinh_Muc11.Value;
            localCurrentRow["Dinh_Muc12"] = this.txtDinh_Muc12.Value;
            localCurrentRow["Gia_Nt"] = this.txtGia_Nt.Value;
            localCurrentRow["Tien_Nt"] = this.txtTien_Nt.Value;
            localCurrentRow["H_Luong"] = this.txtH_Luong.Value;
            localCurrentRow["Do_Am_PT"] = this.txtDo_Am_PT.Value;
            localCurrentRow["Do_Con_PT"] = this.txtDo_Con_PT.Value;
            localCurrentRow["Ma_Loai1"] = base.txtMa_Loai1.Value;
            localCurrentRow["Ma_Loai2"] = base.txtMa_Loai2.Value;
            localCurrentRow["Ma_Loai3"] = base.txtMa_Loai3.Value;
            DmDmSpDataAccess access = new DmDmSpDataAccess();
            if (base.ShowMessage(localCurrentRow, access.SaveRow(base.NewChecked, localCurrentRow)))
            {
                return false;
            }
            if (base.NewChecked)
            {
                base.LocalTable.Rows.Add(localCurrentRow);
            }
            base.LocalCurrentRow = localCurrentRow;
            base.LocalTable.AcceptChanges();
            this.txtMa_Sp.Focus();
            return base.OnSave();
        }

        public override void OnShow()
        {
            if (base.LocalCurrentRow != null)
            {
                this.txtLoai_Yt.Value = base.LocalCurrentRow["Loai_Yt"];
                this.txtMa_Vt_Nh.Value = base.LocalCurrentRow["Ma_Vt_Nh"];
                this.txtMa_Sp.Value = base.LocalCurrentRow["Ma_Sp"];
                this.txtMa_Dm_Sp.Value = base.LocalCurrentRow["Ma_Dm_Sp"];
                this.txtTen_Dm_Sp.Value = base.LocalCurrentRow["Ten_Dm_Sp"];
                this.txtDvt_Vt01.Value = base.LocalCurrentRow["Dvt"];
                base.txtMa_Loai1.Value = base.LocalCurrentRow["Ma_Loai1"];
                base.txtMa_Loai2.Value = base.LocalCurrentRow["Ma_Loai2"];
                base.txtMa_Loai3.Value = base.LocalCurrentRow["Ma_Loai3"];
                this.txtTen_Sp.Value = base.LocalFormLister.ParentFormLister.LocalCurrentRow["Ten_Sp"];
                this.txtDvt_Sp.Value = base.LocalFormLister.ParentFormLister.LocalCurrentRow["Dvt"];
                this.txtDvt_Vt02.Value = this.txtDvt_Vt01.Value;
                this.txtDvt_Vt03.Value = this.txtDvt_Vt01.Value;
                this.txtDvt_Vt04.Value = this.txtDvt_Vt01.Value;
                this.txtDvt_Vt05.Value = this.txtDvt_Vt01.Value;
                this.txtDvt_Vt06.Value = this.txtDvt_Vt01.Value;
                this.txtDvt_Vt07.Value = this.txtDvt_Vt01.Value;
                this.txtDvt_Vt08.Value = this.txtDvt_Vt01.Value;
                this.txtDvt_Vt09.Value = this.txtDvt_Vt01.Value;
                this.txtDvt_Vt10.Value = this.txtDvt_Vt01.Value;
                this.txtDvt_Vt11.Value = this.txtDvt_Vt01.Value;
                this.txtDvt_Vt12.Value = this.txtDvt_Vt01.Value;
                base.OnShow();
            }
        }

        private void txtDinh_Muc01_LostFocus(object sender, EventArgs e)
        {
            if ((this.txtDinh_Muc01.NumericValue != 0M) && (this.txtDinh_Muc02.NumericValue == 0M))
            {
                this.txtDinh_Muc02.Value = this.txtDinh_Muc01.Value;
            }
            if ((this.txtDinh_Muc01.NumericValue != 0M) && (this.txtDinh_Muc03.NumericValue == 0M))
            {
                this.txtDinh_Muc03.Value = this.txtDinh_Muc01.Value;
            }
            if ((this.txtDinh_Muc01.NumericValue != 0M) && (this.txtDinh_Muc04.NumericValue == 0M))
            {
                this.txtDinh_Muc04.Value = this.txtDinh_Muc01.Value;
            }
            if ((this.txtDinh_Muc01.NumericValue != 0M) && (this.txtDinh_Muc05.NumericValue == 0M))
            {
                this.txtDinh_Muc05.Value = this.txtDinh_Muc01.Value;
            }
            if ((this.txtDinh_Muc01.NumericValue != 0M) && (this.txtDinh_Muc06.NumericValue == 0M))
            {
                this.txtDinh_Muc06.Value = this.txtDinh_Muc01.Value;
            }
            if ((this.txtDinh_Muc01.NumericValue != 0M) && (this.txtDinh_Muc07.NumericValue == 0M))
            {
                this.txtDinh_Muc07.Value = this.txtDinh_Muc01.Value;
            }
            if ((this.txtDinh_Muc01.NumericValue != 0M) && (this.txtDinh_Muc08.NumericValue == 0M))
            {
                this.txtDinh_Muc08.Value = this.txtDinh_Muc01.Value;
            }
            if ((this.txtDinh_Muc01.NumericValue != 0M) && (this.txtDinh_Muc09.NumericValue == 0M))
            {
                this.txtDinh_Muc09.Value = this.txtDinh_Muc01.Value;
            }
            if ((this.txtDinh_Muc01.NumericValue != 0M) && (this.txtDinh_Muc10.NumericValue == 0M))
            {
                this.txtDinh_Muc10.Value = this.txtDinh_Muc01.Value;
            }
            if ((this.txtDinh_Muc01.NumericValue != 0M) && (this.txtDinh_Muc11.NumericValue == 0M))
            {
                this.txtDinh_Muc11.Value = this.txtDinh_Muc01.Value;
            }
            if ((this.txtDinh_Muc01.NumericValue != 0M) && (this.txtDinh_Muc12.NumericValue == 0M))
            {
                this.txtDinh_Muc12.Value = this.txtDinh_Muc01.Value;
            }
        }

        private void txtDinh_Muc02_LostFocus(object sender, EventArgs e)
        {
            if ((this.txtDinh_Muc02.NumericValue != 0M) && (this.txtDinh_Muc03.NumericValue == 0M))
            {
                this.txtDinh_Muc03.Value = this.txtDinh_Muc02.Value;
            }
            if ((this.txtDinh_Muc02.NumericValue != 0M) && (this.txtDinh_Muc04.NumericValue == 0M))
            {
                this.txtDinh_Muc04.Value = this.txtDinh_Muc02.Value;
            }
            if ((this.txtDinh_Muc02.NumericValue != 0M) && (this.txtDinh_Muc05.NumericValue == 0M))
            {
                this.txtDinh_Muc05.Value = this.txtDinh_Muc02.Value;
            }
            if ((this.txtDinh_Muc02.NumericValue != 0M) && (this.txtDinh_Muc06.NumericValue == 0M))
            {
                this.txtDinh_Muc06.Value = this.txtDinh_Muc02.Value;
            }
            if ((this.txtDinh_Muc02.NumericValue != 0M) && (this.txtDinh_Muc07.NumericValue == 0M))
            {
                this.txtDinh_Muc07.Value = this.txtDinh_Muc02.Value;
            }
            if ((this.txtDinh_Muc02.NumericValue != 0M) && (this.txtDinh_Muc08.NumericValue == 0M))
            {
                this.txtDinh_Muc08.Value = this.txtDinh_Muc02.Value;
            }
            if ((this.txtDinh_Muc02.NumericValue != 0M) && (this.txtDinh_Muc09.NumericValue == 0M))
            {
                this.txtDinh_Muc09.Value = this.txtDinh_Muc02.Value;
            }
            if ((this.txtDinh_Muc02.NumericValue != 0M) && (this.txtDinh_Muc10.NumericValue == 0M))
            {
                this.txtDinh_Muc10.Value = this.txtDinh_Muc02.Value;
            }
            if ((this.txtDinh_Muc02.NumericValue != 0M) && (this.txtDinh_Muc11.NumericValue == 0M))
            {
                this.txtDinh_Muc11.Value = this.txtDinh_Muc02.Value;
            }
            if ((this.txtDinh_Muc02.NumericValue != 0M) && (this.txtDinh_Muc12.NumericValue == 0M))
            {
                this.txtDinh_Muc12.Value = this.txtDinh_Muc02.Value;
            }
        }

        private void txtDinh_Muc03_LostFocus(object sender, EventArgs e)
        {
            if ((this.txtDinh_Muc03.NumericValue != 0M) && (this.txtDinh_Muc04.NumericValue == 0M))
            {
                this.txtDinh_Muc04.Value = this.txtDinh_Muc03.Value;
            }
            if ((this.txtDinh_Muc03.NumericValue != 0M) && (this.txtDinh_Muc05.NumericValue == 0M))
            {
                this.txtDinh_Muc05.Value = this.txtDinh_Muc03.Value;
            }
            if ((this.txtDinh_Muc03.NumericValue != 0M) && (this.txtDinh_Muc06.NumericValue == 0M))
            {
                this.txtDinh_Muc06.Value = this.txtDinh_Muc03.Value;
            }
            if ((this.txtDinh_Muc03.NumericValue != 0M) && (this.txtDinh_Muc07.NumericValue == 0M))
            {
                this.txtDinh_Muc07.Value = this.txtDinh_Muc03.Value;
            }
            if ((this.txtDinh_Muc03.NumericValue != 0M) && (this.txtDinh_Muc08.NumericValue == 0M))
            {
                this.txtDinh_Muc08.Value = this.txtDinh_Muc03.Value;
            }
            if ((this.txtDinh_Muc03.NumericValue != 0M) && (this.txtDinh_Muc09.NumericValue == 0M))
            {
                this.txtDinh_Muc09.Value = this.txtDinh_Muc03.Value;
            }
            if ((this.txtDinh_Muc03.NumericValue != 0M) && (this.txtDinh_Muc10.NumericValue == 0M))
            {
                this.txtDinh_Muc10.Value = this.txtDinh_Muc03.Value;
            }
            if ((this.txtDinh_Muc03.NumericValue != 0M) && (this.txtDinh_Muc11.NumericValue == 0M))
            {
                this.txtDinh_Muc11.Value = this.txtDinh_Muc03.Value;
            }
            if ((this.txtDinh_Muc03.NumericValue != 0M) && (this.txtDinh_Muc12.NumericValue == 0M))
            {
                this.txtDinh_Muc12.Value = this.txtDinh_Muc03.Value;
            }
        }

        private void txtDinh_Muc04_LostFocus(object sender, EventArgs e)
        {
            if ((this.txtDinh_Muc04.NumericValue != 0M) && (this.txtDinh_Muc05.NumericValue == 0M))
            {
                this.txtDinh_Muc05.Value = this.txtDinh_Muc04.Value;
            }
            if ((this.txtDinh_Muc04.NumericValue != 0M) && (this.txtDinh_Muc06.NumericValue == 0M))
            {
                this.txtDinh_Muc06.Value = this.txtDinh_Muc04.Value;
            }
            if ((this.txtDinh_Muc04.NumericValue != 0M) && (this.txtDinh_Muc07.NumericValue == 0M))
            {
                this.txtDinh_Muc07.Value = this.txtDinh_Muc04.Value;
            }
            if ((this.txtDinh_Muc04.NumericValue != 0M) && (this.txtDinh_Muc08.NumericValue == 0M))
            {
                this.txtDinh_Muc08.Value = this.txtDinh_Muc04.Value;
            }
            if ((this.txtDinh_Muc04.NumericValue != 0M) && (this.txtDinh_Muc09.NumericValue == 0M))
            {
                this.txtDinh_Muc09.Value = this.txtDinh_Muc04.Value;
            }
            if ((this.txtDinh_Muc04.NumericValue != 0M) && (this.txtDinh_Muc10.NumericValue == 0M))
            {
                this.txtDinh_Muc10.Value = this.txtDinh_Muc04.Value;
            }
            if ((this.txtDinh_Muc04.NumericValue != 0M) && (this.txtDinh_Muc11.NumericValue == 0M))
            {
                this.txtDinh_Muc11.Value = this.txtDinh_Muc04.Value;
            }
            if ((this.txtDinh_Muc04.NumericValue != 0M) && (this.txtDinh_Muc12.NumericValue == 0M))
            {
                this.txtDinh_Muc12.Value = this.txtDinh_Muc04.Value;
            }
        }

        private void txtDinh_Muc05_LostFocus(object sender, EventArgs e)
        {
            if ((this.txtDinh_Muc05.NumericValue != 0M) && (this.txtDinh_Muc06.NumericValue == 0M))
            {
                this.txtDinh_Muc06.Value = this.txtDinh_Muc05.Value;
            }
            if ((this.txtDinh_Muc05.NumericValue != 0M) && (this.txtDinh_Muc07.NumericValue == 0M))
            {
                this.txtDinh_Muc07.Value = this.txtDinh_Muc05.Value;
            }
            if ((this.txtDinh_Muc05.NumericValue != 0M) && (this.txtDinh_Muc08.NumericValue == 0M))
            {
                this.txtDinh_Muc08.Value = this.txtDinh_Muc05.Value;
            }
            if ((this.txtDinh_Muc05.NumericValue != 0M) && (this.txtDinh_Muc09.NumericValue == 0M))
            {
                this.txtDinh_Muc09.Value = this.txtDinh_Muc05.Value;
            }
            if ((this.txtDinh_Muc05.NumericValue != 0M) && (this.txtDinh_Muc10.NumericValue == 0M))
            {
                this.txtDinh_Muc10.Value = this.txtDinh_Muc05.Value;
            }
            if ((this.txtDinh_Muc05.NumericValue != 0M) && (this.txtDinh_Muc11.NumericValue == 0M))
            {
                this.txtDinh_Muc11.Value = this.txtDinh_Muc05.Value;
            }
            if ((this.txtDinh_Muc05.NumericValue != 0M) && (this.txtDinh_Muc12.NumericValue == 0M))
            {
                this.txtDinh_Muc12.Value = this.txtDinh_Muc05.Value;
            }
        }

        private void txtDinh_Muc06_LostFocus(object sender, EventArgs e)
        {
            if ((this.txtDinh_Muc06.NumericValue != 0M) && (this.txtDinh_Muc07.NumericValue == 0M))
            {
                this.txtDinh_Muc07.Value = this.txtDinh_Muc06.Value;
            }
            if ((this.txtDinh_Muc06.NumericValue != 0M) && (this.txtDinh_Muc08.NumericValue == 0M))
            {
                this.txtDinh_Muc08.Value = this.txtDinh_Muc06.Value;
            }
            if ((this.txtDinh_Muc06.NumericValue != 0M) && (this.txtDinh_Muc09.NumericValue == 0M))
            {
                this.txtDinh_Muc09.Value = this.txtDinh_Muc06.Value;
            }
            if ((this.txtDinh_Muc06.NumericValue != 0M) && (this.txtDinh_Muc10.NumericValue == 0M))
            {
                this.txtDinh_Muc10.Value = this.txtDinh_Muc06.Value;
            }
            if ((this.txtDinh_Muc06.NumericValue != 0M) && (this.txtDinh_Muc11.NumericValue == 0M))
            {
                this.txtDinh_Muc11.Value = this.txtDinh_Muc06.Value;
            }
            if ((this.txtDinh_Muc06.NumericValue != 0M) && (this.txtDinh_Muc12.NumericValue == 0M))
            {
                this.txtDinh_Muc12.Value = this.txtDinh_Muc06.Value;
            }
        }

        private void txtDinh_Muc07_LostFocus(object sender, EventArgs e)
        {
            if ((this.txtDinh_Muc07.NumericValue != 0M) && (this.txtDinh_Muc08.NumericValue == 0M))
            {
                this.txtDinh_Muc08.Value = this.txtDinh_Muc07.Value;
            }
            if ((this.txtDinh_Muc07.NumericValue != 0M) && (this.txtDinh_Muc09.NumericValue == 0M))
            {
                this.txtDinh_Muc09.Value = this.txtDinh_Muc07.Value;
            }
            if ((this.txtDinh_Muc07.NumericValue != 0M) && (this.txtDinh_Muc10.NumericValue == 0M))
            {
                this.txtDinh_Muc10.Value = this.txtDinh_Muc07.Value;
            }
            if ((this.txtDinh_Muc07.NumericValue != 0M) && (this.txtDinh_Muc11.NumericValue == 0M))
            {
                this.txtDinh_Muc11.Value = this.txtDinh_Muc07.Value;
            }
            if ((this.txtDinh_Muc07.NumericValue != 0M) && (this.txtDinh_Muc12.NumericValue == 0M))
            {
                this.txtDinh_Muc12.Value = this.txtDinh_Muc07.Value;
            }
        }

        private void txtDinh_Muc08_LostFocus(object sender, EventArgs e)
        {
            if ((this.txtDinh_Muc08.NumericValue != 0M) && (this.txtDinh_Muc09.NumericValue == 0M))
            {
                this.txtDinh_Muc09.Value = this.txtDinh_Muc08.Value;
            }
            if ((this.txtDinh_Muc08.NumericValue != 0M) && (this.txtDinh_Muc10.NumericValue == 0M))
            {
                this.txtDinh_Muc10.Value = this.txtDinh_Muc08.Value;
            }
            if ((this.txtDinh_Muc08.NumericValue != 0M) && (this.txtDinh_Muc11.NumericValue == 0M))
            {
                this.txtDinh_Muc11.Value = this.txtDinh_Muc08.Value;
            }
            if ((this.txtDinh_Muc08.NumericValue != 0M) && (this.txtDinh_Muc12.NumericValue == 0M))
            {
                this.txtDinh_Muc12.Value = this.txtDinh_Muc08.Value;
            }
        }

        private void txtDinh_Muc09_LostFocus(object sender, EventArgs e)
        {
            if ((this.txtDinh_Muc09.NumericValue != 0M) && (this.txtDinh_Muc10.NumericValue == 0M))
            {
                this.txtDinh_Muc10.Value = this.txtDinh_Muc09.Value;
            }
            if ((this.txtDinh_Muc09.NumericValue != 0M) && (this.txtDinh_Muc11.NumericValue == 0M))
            {
                this.txtDinh_Muc11.Value = this.txtDinh_Muc09.Value;
            }
            if ((this.txtDinh_Muc09.NumericValue != 0M) && (this.txtDinh_Muc12.NumericValue == 0M))
            {
                this.txtDinh_Muc12.Value = this.txtDinh_Muc09.Value;
            }
        }

        private void txtDinh_Muc10_LostFocus(object sender, EventArgs e)
        {
            if ((this.txtDinh_Muc10.NumericValue != 0M) && (this.txtDinh_Muc11.NumericValue == 0M))
            {
                this.txtDinh_Muc11.Value = this.txtDinh_Muc10.Value;
            }
            if ((this.txtDinh_Muc10.NumericValue != 0M) && (this.txtDinh_Muc12.NumericValue == 0M))
            {
                this.txtDinh_Muc12.Value = this.txtDinh_Muc10.Value;
            }
        }

        private void txtDinh_Muc11_LostFocus(object sender, EventArgs e)
        {
            if ((this.txtDinh_Muc11.NumericValue != 0M) && (this.txtDinh_Muc12.NumericValue == 0M))
            {
                this.txtDinh_Muc12.Value = this.txtDinh_Muc11.Value;
            }
        }

        private void txtMa_Dm_Sp_GotFocus(object sender, EventArgs e)
        {
            if (this.txtLoai_Yt.Text.Equals("L"))
            {
                if (this.txtMa_Vt_Nh.Text.Equals("V"))
                {
                    this.txtMa_Dm_Sp.TableName = "DMVT";
                    this.txtMa_Dm_Sp.FieldDisplay = "Ten_Vt";
                }
                else
                {
                    this.txtMa_Dm_Sp.TableName = "DMNHDM";
                    this.txtMa_Dm_Sp.FieldDisplay = "Ten_Nh_Dm";
                }
            }
            else
            {
                this.txtMa_Dm_Sp.TableName = "DMYT";
                this.txtMa_Dm_Sp.FieldDisplay = "Ten_Yt";
            }
        }

        private void txtMa_Dm_Sp_LostFocus(object sender, EventArgs e)
        {
            if (this.txtLoai_Yt.Text.Equals("L") && (this.txtMa_Dm_Sp.GetFieldData("Dvt") != null))
            {
                this.txtDvt_Vt01.Text = this.txtMa_Dm_Sp.GetFieldData("Dvt").ToString();
            }
            else
            {
                this.txtDvt_Vt01.Text = "";
            }
            this.txtDvt_Vt02.Text = this.txtDvt_Vt01.Text;
            this.txtDvt_Vt03.Text = this.txtDvt_Vt01.Text;
            this.txtDvt_Vt04.Text = this.txtDvt_Vt01.Text;
            this.txtDvt_Vt05.Text = this.txtDvt_Vt01.Text;
            this.txtDvt_Vt06.Text = this.txtDvt_Vt01.Text;
            this.txtDvt_Vt07.Text = this.txtDvt_Vt01.Text;
            this.txtDvt_Vt08.Text = this.txtDvt_Vt01.Text;
            this.txtDvt_Vt09.Text = this.txtDvt_Vt01.Text;
            this.txtDvt_Vt10.Text = this.txtDvt_Vt01.Text;
            this.txtDvt_Vt11.Text = this.txtDvt_Vt01.Text;
            this.txtDvt_Vt12.Text = this.txtDvt_Vt01.Text;
        }

        private void txtMa_Sp_GotFocus(object sender, EventArgs e)
        {
            if (this.txtMa_Sp.Text.Equals(string.Empty))
            {
                this.txtMa_Sp.Text = base.LocalFormLister.ParentFormLister.LocalCurrentRow[base.LocalFormLister.ParentFormLister.LocalFieldName].ToString();
                this.txtTen_Sp.Text = base.LocalFormLister.ParentFormLister.LocalCurrentRow["Ten_Sp"].ToString();
                this.txtDvt_Sp.Text = base.LocalFormLister.ParentFormLister.LocalCurrentRow["Dvt"].ToString();
            }
        }

        private void txtMa_Sp_LostFocus(object sender, EventArgs e)
        {
            this.txtDvt_Sp.Text = this.txtMa_Sp.GetFieldData("Dvt").ToString();
        }

        private void txtSo_LuongSp_GotFocus(object sender, EventArgs e)
        {
            if (this.txtSo_LuongSp.Value.Equals(0M))
            {
                this.txtSo_LuongSp.Value = 1;
            }
        }
    }
}

